package com.cy.personer.mapper;

import com.cy.personer.bean.RoleUserOptions;
import com.cy.personer.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OperationUserMapper {
    User getUser(String cardNumber);//查询客户
    List<RoleUserOptions> getRoleUserOptions(int roleId); //根据不同的角色ID获取不同的操作菜单
    //    boolean recharge(@Param("user")User user);//为客户充值
    boolean recharge(User user);//为客户充值


}
